## Script (Python) "pegaObjetosPortal"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=contexto
##title=
##
raiz = context.portal_url.getPortalObject()
contexto = raiz.portal_fundos

query = {}
query['portal_type'] = ['Folder', 'Large Plone Folder', 'Ploneboard', 'PloneChat']
query['sort_on'] = 'getObjPositionInParent'
query['review_state'] = ['published', 'private']
query['path'] = {'query': '/'.join(contexto.getPhysicalPath()),
                 'depth': 1,
}
catalog = context.portal_catalog
results = catalog(**query)
return results
